<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
<head>
	<title></title>

	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- 引入bootstrap -->
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.min.css">
	<!-- 引入JQuery  bootstrap.js-->
	<script src="${pageContext.request.contextPath}/js/jquery-3.2.1.min.js"></script>
	<script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
</head>
<body>
	<!-- 顶栏 -->
	<jsp:include page="top.jsp"></jsp:include>
	<!-- 中间主体 -->
		<div class="container" id="content">
		<div class="row">
			<jsp:include page="menu.jsp"></jsp:include>
			<div class="col-md-10">
				<div class="panel panel-default">
				    <div class="panel-heading">
						<div class="row">
					    	<h1 style="text-align: center;">添加商品信息</h1>
						</div>
				    </div>
				    <div class="panel-body">
						<form class="form-horizontal" role="form" action="${pageContext.request.contextPath}/admin/addTeacher" id="editfrom" method="post">
							  <div class="form-group">
							    <label for="inputEmail3" class="col-sm-2 control-label">商品编号</label>
							    <div class="col-sm-10">
							      <input type="number" class="form-control" id="inputEmail3" name="userid" placeholder="请输入商品编号">
							    </div>
							  </div>
							  <div class="form-group">
							    <label for="inputPassword3" class="col-sm-2 control-label">商品名</label>
							    <div class="col-sm-10">
							      <input type="text" class="form-control" id="inputPassword3" name="username" placeholder="请输入商品名">
							    </div>
							  </div>
							  <div class="form-group">
							    <label for="inputPassword3" class="col-sm-2 control-label">商品描述</label>
							    <div class="col-sm-10">
								 <%--   <label class="checkbox-inline">
									   	<input type="radio" name="sex" value="男" checked>男
									</label>
									<label class="checkbox-inline">
										<input type="radio" name="sex" value="女">女
									</label>--%>
									<input type="text" class="form-control" id="sex" name="sex" placeholder="商品描述">
							    </div>
							  </div>
							  <div class="form-group" style="display: none">
							    <label for="inputPassword3" class="col-sm-2 control-label">出生年份</label>
							    <div class="col-sm-10">
								    <input type="date" value="1996-09-02" name="birthyear"/>
							    </div>
							  </div>
							  <div class="form-group" style="display: none">
								<label for="inputPassword3" class="col-sm-2 control-label" name="degree">学历：</label>
								<div class="col-sm-10">
									<select class="form-control" name="degree">
										<option value="本科">本科</option>
										<option value="硕士">硕士</option>
										<option value="博士">博士</option>
									</select>
								</div>
							  </div>
							<%--<div class="form-group">
								<label for="inputPassword3" class="col-sm-2 control-label" name="title">价格：</label>
								<div class="col-sm-10">
									&lt;%&ndash;<select class="form-control" name="title">
										<option value="普通商品">普通商品</option>
										<option value="助教">助教</option>
										<option value="讲师">讲师</option>
										<option value="副教授">副教授</option>
										<option value="教授">教授</option>
									</select>&ndash;%&gt;
									<input type="text"  name="title"/>
								</div>
							</div>--%>
							<div class="form-group">
								<label for="inputPassword3" class="col-sm-2 control-label">价格：</label>
								<div class="col-sm-10">
									<%--   <label class="checkbox-inline">
                                              <input type="radio" name="sex" value="男" checked>男
                                       </label>
                                       <label class="checkbox-inline">
                                           <input type="radio" name="sex" value="女">女
                                       </label>--%>
									<input type="text" class="form-control" id="title" name="title" placeholder="价格">
								</div>
							</div>
							  <div class="form-group" style="display: none">
							    <label for="inputPassword3" class="col-sm-2 control-label" name="grade">入职时间</label>
							    <div class="col-sm-10">
								    <input type="date" value="2015-09-02" name="grade"/>
							    </div>
							  </div>

							<div class="form-group">
								<label for="inputPassword3" class="col-sm-2 control-label">库存</label>
								<div class="col-sm-10">
									<%--   <label class="checkbox-inline">
                                              <input type="radio" name="sex" value="男" checked>男
                                       </label>
                                       <label class="checkbox-inline">
                                           <input type="radio" name="sex" value="女">女
                                       </label>--%>
									<input type="text" class="form-control" id="collegeid" name="collegeid" placeholder="库存">
								</div>
							</div>
							  <div class="form-group" style="text-align: center">
								<button class="btn btn-default" type="submit">提交</button>
								<button class="btn btn-default" type="reset">重置</button>
							  </div>
						</form>
				    </div>
				    
				</div>

			</div>
		</div>
	</div>
	<div class="container" id="footer">
	<div class="row">
		<div class="col-md-12"></div>
	</div>
	</div>
</body>
	<script type="text/javascript">
		$("#nav li:nth-child(3)").addClass("active")
	</script>
</html>